package com.ubxtech.web.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 用于接口权限校验
 * @author Victor.Xiao
 * @since 2023-09-04 16:52
*/
@Target({ ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface Permission {
    /**
     * 对应的url,默认当前controller的url
     */
    String url() default "";
}
